package 蓝桥真题;

public class 鲁卡斯队列 {
       public static void main(String[] args) {
		      float pre=1,now=3;
		      while(true){
		    	    if(Math.round((pre/now)*1000000)==618034){
		    	    	System.out.print(pre+"/"+now);
		    	    	return;
		    	    }
		    	    now+=pre;
		    	    pre=now-pre;
		      }
	}
}
